/**
 * 微信公众平台开发模式(JAVA) SDK
 * (c) 2012-2013 ____′↘夏悸 <wmails@126.cn>, MIT Licensed
 * http://www.jeasyuicn.com/wechat
 */
package com.gson.util;


import cc.bluemc.platform.utils.HttpUtils;

import java.util.Map;

/**
 * https 请求 微信为https的请求
 *
 * @author L.cm
 * @date 2013-10-9 下午2:40:19
 */ 
public class HttpKit {
	private static final String DEFAULT_CHARSET = "UTF-8";

    public static String get(String url) throws Exception {
        return HttpUtils.get(url,null);
    }

    public static String get(String url, Map<String, String> params) throws Exception {
        return HttpUtils.get(url, params);
    }

    public static String post(String url, Map<String, String> params) throws Exception {
        return HttpUtils.post(url, params);

    }
    public static String post(String url)  {
        return HttpUtils.post(url, "");
    }

    public static String post(String url,String body){
        return HttpUtils.post(url, body);
    }

}